<!-- Start the Loop. -->
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
				<!--post start-->
			  <div class="post">
              
              <div class="box">
                <div class="postimgbox"> 
<?php if ((function_exists('has_post_thumbnail')) && (has_post_thumbnail())) { ?>
                         <?php infoway_get_thumbnail(200, 144); ?>
                    <?php } else { ?>
                        <?php infoway_get_image(200, 144); ?> 
                        <?php
                    }
                    ?>
				</div>
                <ul class="post_meta">
                  <li class="post_date">&nbsp;&nbsp;<?php echo get_the_time('m, d, Y') ?></li>
                  <li class="post_comment">
				  &nbsp;&nbsp;
				  <?php comments_popup_link('No Comments.', '1 Comment.', '% Comments.'); ?></li>
                  <br />
                  <li class="posted_by">&nbsp;&nbsp;&nbsp;<?php _e( 'By', 'infoway' ); ?>&nbsp;&nbsp;<?php the_author_posts_link(); ?></li>
                  <br />
                  <li class="post_category">&nbsp;&nbsp;&nbsp;<?php the_category(', '); ?></li>
                  <br />
                </ul>
              </div>
              <div class="post_content">
			  <h1 class="post_title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h1>
			  
                  <?php the_excerpt(); ?>
				  <div class="clear"></div>
				  <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'infoway' ) . '</span>', 'after' => '</div>' ) ); ?>
				<a class="read_more" href="<?php the_permalink() ?>"><?php _e( 'Read More', 'infoway' ); ?>&nbsp;<span class="button-tip"></span></a> 
				</div>
            </div>
			<!--End Post-->
			<?php endwhile;
else: ?>
<div class="post">
        <p>
            <?php _e('Sorry, no posts matched your criteria.', 'infoway'); ?>
        </p>
    </div>
<?php endif; ?>
<!--End Loop-->